package com.hzqdn.monstermodel.entity.recommend;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@TableName(value = "question_recommend")
@Data
public class QuestionRecommend implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 问题id
     */
    private Long questionId;

    /**
     * 推荐分数
     */
    private Float score;

    /**
     * 推荐理由
     */
    private String reason;

    /**
     * 推荐类型
     */
    private String type;

    /**
     * 推荐状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}